package com.oig.sys.msg.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;

import lombok.Data;

import java.util.Date;

@Schema
@Data
public class ExportTaskVo {

	@Schema(description = "id")
	private Integer id;
	@Schema(description = "文件导出任务名称")
	private String name;
	@Schema(description = "状态 01-正在生成文件 02-已完成 03-已下载")
	private String status;
	@Schema(description = "文件地址")
	private String fileUrl;
	@Schema(description = "文件名")
	private String fileName;
	@Schema(description = "文件id")
	private String fileId;

	@Schema(description = "最后下载时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date lastDownloadTime;
}
